package com.geekhale.validate.controller;

import com.geekhale.validate.support.MethodValidate;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j

public class UserApplication {

    @MethodValidate
    public void createUser(CreateUserCommand cmd){
        log.info("user {}", cmd.getUser());
    }

}
